import request from '@/utils/request'

export function add(data) {
  return request({
    url: '/api/webProperties/addOrSave',
    method: 'post',
    data
  })
}

export function query(data) {
  return request({
    url: '/api/webProperties',
    method: 'get',
    params: data
  })
}